package state.component;

import state.GameImage;
import state.font.ImageText;
import state.util.GameColor;

public class Style {
  public int forceGroundColor = GameColor.BLACK_CODE;
  public int backgroundColor = GameColor.WHITE_CODE;
  public boolean enable = true;
  public boolean hasBorder = false;
  public int borderColor = GameColor.RED2_CODE;
  public boolean focused = false;
  public boolean focusable = true;
  public boolean fillBackGround = false;
  public int focusBgColor = GameColor.GREEN_CODE;
  public int focusFgColor = GameColor.RED2_CODE;
  public GameImage backgroundImage = null;
  public ImageText font = null;

  public int getForceGroundColor() {
    return forceGroundColor;
  }

  public Style setForceGroundColor(int forceGroundColor1) {
    this.forceGroundColor = forceGroundColor1;
    return this;
  }

  public int getBackgroundColor() {
    return backgroundColor;
  }

  public Style setBackgroundColor(int backgroundColor1) {
    this.backgroundColor = backgroundColor1;
    fillBackGround = true;
    return this;
  }

  public boolean isEnable() {
    return enable;
  }

  public Style setEnable(boolean isEnable) {
    this.enable = isEnable;
    return this;
  }

  public boolean isHasBorder() {
    return hasBorder;
  }

  public Style setHasBorder(boolean hasBorder1) {
    this.hasBorder = hasBorder1;
    return this;
  }

  public int getBorderColor() {
    return borderColor;
  }

  public Style setBorderColor(int borderColor1) {
    this.borderColor = borderColor1;
    hasBorder = true;
    return this;
  }

  public boolean isFocused() {
    return focused;
  }

  public Style setFocused(boolean isFocused) {
    this.focused = isFocused;
    return this;
  }

  public boolean isFocusable() {
    return focusable;
  }

  public Style setFocusable(boolean focusable1) {
    this.focusable = focusable1;
    return this;
  }

  public boolean isFillBackGround() {
    return fillBackGround;
  }

  public Style setFillBackGround(boolean isFillBackGround) {
    this.fillBackGround = isFillBackGround;
    return this;
  }

  public int getFocusBgColor() {
    return focusBgColor;
  }

  public Style setFocusBgColor(int focusBgColor1) {
    this.focusBgColor = focusBgColor1;
    return this;
  }

  public int getFocusFgColor() {
    return focusFgColor;
  }

  public Style setFocusFgColor(int focusFgColor1) {
    this.focusFgColor = focusFgColor1;
    return this;
  }

  public ImageText getFont() {
    return font;
  }

  public Style setFont(ImageText font1) {
    this.font = font1;
    return this;
  }
  
  public GameImage getBackgroundImage() {
    return backgroundImage;
  }
  
  public Style setBackgroundImage(GameImage backgroundImage1) {
    this.backgroundImage = backgroundImage1;
    return this;
  }
}
